package eplaza.com.st.bo.so;

import javax.servlet.http.*;
import eplaza.com.st.bo.so.http.*;
import eplaza.com.st.bo.so.data.*;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2002</p>
 * <p>Company: </p>
 * @author unascribed
 * @version 1.0
 */

public class BasicQueryBO extends kjava.data.BOContainer
{
  private BasicQueryData data;

  public BasicQueryBO(HttpServletRequest request) throws Exception
  {
    super(new BasicQueryHttp(request));
  }

  public BasicQueryData[] getBasicData() throws Exception
  {
    BasicQueryHttp http = (BasicQueryHttp)super.getHttpDataContainer();
    data = new BasicQueryData();
    return (BasicQueryData[])data.find(http.getFromDate(),http.getToDate());
  }
}
